package com.jch.helloworld.configBeans.spel;

public class Home {

    private int id;
    private String name;
    private Demo demo;

    @Override
    public String toString() {
        return "Home{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", demo=" + demo +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Demo getDemo() {
        return demo;
    }

    public void setDemo(Demo demo) {
        this.demo = demo;
    }

    public Home() {
    }

    public Home(int id, String name, Demo demo) {
        this.id = id;
        this.name = name;
        this.demo = demo;
    }
}
